package cn.amoqi.logger.controller.service;

import cn.amoqi.logger.bean.Student;
import org.springframework.cache.annotation.Cacheable;

/**
 * @Description:
 * @author: zhuiFeng
 * @date: 2021年04月26日 15:44
 */
public interface IndexService {
    @Cacheable(value = "cache_index", key = "#id")
    Student getIndex(Long l);
}
